package com.zhiwei.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;

@Data
@Accessors(chain = true)
@TableName("user")
public class User extends BasePojo implements Serializable {
    @TableId(type = IdType.AUTO)
    private Integer id;
    private Integer msgNum;
    private String username;
    private String loginName;
    private Boolean sex;
    private String idNum;
    private Integer leaderId;
    private String password;
    private String position;
    private String department;
    private String email;
    private String phone;
    private Integer ismanager;
    private Boolean isystem;
    private Boolean status;
    private String description;
    private String remark;
    private String imgPath;
}
